package com.baseLesson.reflect._01_imoocDemo._2_1_动态加载和静态加载;

/**
 * 编译期：静态加载
 * 运行期：动态加载
 */

public class User {

    public static void main(String[] args) throws Exception {
        Class aClass = Class.forName(args[0]);
        WPS WPS = (WPS) aClass.newInstance();
        WPS.start();
    }

}
